home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
text
/
tex
/
tgrind.lha
/
TGrind
/
README.amiga
< prev
next >
Wrap
Text File
|
1993-01-04
|
1KB
|
28 lines
This is an Amiga port of the tgrind utility. With TeX and tgrind one
can "pretty print" program source code in various languages. Tgrind
is not used to indent or format your programs, but to generate a nice
looking TeX source file with comments in italics, key words in boldface
etc.
The Amiga port does not include the original sh-script. Only the
tfontendpr binary (renamed to tgrind) is included. This means that the
included manual page is not entirely correct. This version outputs the
resulting TeX file to stdout and one must run it through TeX manually.
For example, to produce a nice looking listing of the included C source
files, one would use:
MyAmy> tgrind regexp.c retest.c tfontendpr.c vgrindefs.c >listing.tex
MyAmy> tex listing
MyAmy> dvips listing ; or whatever your device driver is
INSTALLATION
Copy tgrindefs to tex:inputs directory. Also the files tgrindmac.tex
and tgrind.sty should be copied to a place where TeX looks for input
files (tex:inputs). Copy tgrind somewhere along your path.
The included SCOPTIONS file and Makefile can be used with SAS/C version
6.0 or later.
Kari Sutela, University of Turku, 4.1.1992